package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.NcQualityInspectionRecord;

/**
 * 质检记录单Mapper接口
 * 
 * @author lx
 * @date 2023-06-01
 */
public interface NcQualityInspectionRecordMapper 
{
    /**
     * 查询质检记录单
     * 
     * @param id 质检记录单主键
     * @return 质检记录单
     */
    public NcQualityInspectionRecord selectNcQualityInspectionRecordById(Long id);

    /**
     * 查询质检记录单列表
     * 
     * @param ncQualityInspectionRecord 质检记录单
     * @return 质检记录单集合
     */
    public List<NcQualityInspectionRecord> selectNcQualityInspectionRecordList(NcQualityInspectionRecord ncQualityInspectionRecord);

    /**
     * 新增质检记录单
     * 
     * @param ncQualityInspectionRecord 质检记录单
     * @return 结果
     */
    public int insertNcQualityInspectionRecord(NcQualityInspectionRecord ncQualityInspectionRecord);

    /**
     * 修改质检记录单
     * 
     * @param ncQualityInspectionRecord 质检记录单
     * @return 结果
     */
    public int updateNcQualityInspectionRecord(NcQualityInspectionRecord ncQualityInspectionRecord);

    /**
     * 删除质检记录单
     * 
     * @param id 质检记录单主键
     * @return 结果
     */
    public int deleteNcQualityInspectionRecordById(Long id);

    /**
     * 批量删除质检记录单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcQualityInspectionRecordByIds(Long[] ids);
}
